package java8_24.oop.Test_6;

public class Pet_test {
    public static void main(String[] args) {
        Dog d=new Dog("大黄",20.3,"中华田园犬");
        d.show();
        d.getMoouse();
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
        Cat c=new Cat("小黑",4.5,"蓝猫");
        c.show();
        c.climbTree();
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
        Parrot p=new Parrot("小绿",0.5,"虎皮鹦鹉");
        p.show();
        p.fly();
    }
}
